package com.ce.socket;

import java.io.IOException;

public interface ISocket {
	public void connect() throws IOException;
	public void write(byte[] data) throws IOException;
	public void flush() throws IOException;
	public byte[] read() throws IOException;
	public void close() throws IOException;
	public byte[] sendData(byte[] data) throws IOException;
	public boolean isAlive();
	public boolean isConnected();
}
